package com.feihong.txgw.inter.contract.order;

import com.feihong.txgw.model.base_bean.BaseResponse;
import com.feihong.txgw.ui.mvp.model.IBaseModel;
import com.feihong.txgw.ui.mvp.precenter.AbBasePrecenter;
import com.feihong.txgw.ui.mvp.view.IBaseActivity;

import io.reactivex.Observable;

/**
 * @Author wangziheng
 * @ProjectName txgw_app
 * @ClassName IKaikaOrderDetailContract
 * @package com.feihong.txgw.inter.contract.order
 * @data 2018/5/8 10:32
 * @Describe
 * @Change
 */
public interface IKaikaOrderDetailContract {

    interface  IKaikaOrderDetailMainView extends IBaseActivity{
        void cannelKaikaOrderResult(BaseResponse result);

    }

    interface IKaikaOrderDetailMainModel extends IBaseModel{
        Observable<BaseResponse> cannelKaikaOrder(String orderSn, String orderType);
    }

    abstract class AbKaikaOrderDetailMainPrecenter extends AbBasePrecenter<IKaikaOrderDetailMainModel,IKaikaOrderDetailMainView>{
        public abstract void cannelKaikaOrder(String orderSn,String orderType);
    }

}
